<table cellspacing="1" cellpadding="4" width='100%'>
    <tr align="center" valign="top">
        <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
            <div class="Block">
                <div class="BlockBar"><?php echo Yii::t('vodcms', '修改菜单资料'); ?></div>
                <?php $form = $this->beginWidget('CActiveForm', array('id' => 'menu-form', 'enableAjaxValidation' => true)); ?>
                <table cellspacing="1" cellpadding="4" class="tab">
                    <tr class="row">
                        <td width="73" class="align-right"><?php echo $form->labelEx($model, 'menu_name'); ?>:</td>
                        <td width="389"><?php echo $form->textField($modify, 'menu_name', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($model, 'menu_name'); ?></td>
                    </tr>
                    <tr class="row">
                        <td class="align-right"><?php echo $form->labelEx($model, 'menu_parent_id'); ?>:</td>
                        <td><?php echo $form->dropDownList($modify, 'menu_parent_id', $model->getParentOption()); ?><?php echo $form->error($model, 'menu_parent_id'); ?></td>
                    </tr>
                    <tr class="row">
                        <td class="align-right"><?php echo $form->labelEx($model, 'menu_link'); ?>:</td>
                        <td><?php echo $form->textField($modify, 'menu_link', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($model, 'menu_link'); ?></td>
                    </tr>
                    <tr class="row">
                        <td class="align-right"><?php echo $form->labelEx($model, 'menu_sort'); ?>:</td>
                        <td><?php echo $form->textField($modify, 'menu_sort', array('size' => 20, 'maxlength' => 5)); ?><?php echo $form->error($model, 'menu_sort'); ?></td>
                    </tr>
                    <tr class="rows">
                        <td class="rows"></td>
                        <td class="rows"><?php echo CHtml::submitButton(Yii::t('vodcms', '保 存'), array('class' => 'btn')); ?><?php echo CHtml::button(Yii::t('vodcms', '返回列表'), array('class' => 'btn', 'onclick' => "history.back()")); ?></td>
                    </tr>
                </table>
                <?php $this->endWidget(); ?>
            </div>
        </td>
    </tr>
</table>
